import java.util.List;

public class ActivityManagementSystem {

    UserSubSystem userSubSystem = new UserSubSystem();
    ActivitySubSystem activitySubSystem = new ActivitySubSystem();

    public void displayUserSubSystem(){

        List<Student> students = userSubSystem.getStudentList();
        System.out.println("StudentList:");
        for (Student student:students) {
            System.out.println(student.toString());
        }

        System.out.println();

        List<Teacher> teachers = userSubSystem.getTeacherList();
        System.out.println("TeacherList:");
        for (Teacher teacher:teachers) {
            System.out.println(teacher.toString());
        }

        System.out.println();

        List<Organizer> organizers = userSubSystem.getOrganizerList();
        System.out.println("OrganizerList:");
        for (Organizer organizer:organizers) {
            System.out.println(organizer.toString());
        }

    }

    public void displayActivitySubSystem(){
        List<Activity> acitivities = activitySubSystem.getAcitivityList();
        System.out.println("ActivityList:");
        for (Activity activity :acitivities) {
            System.out.println(activity.toString());
        }
    }

    public UserSubSystem getUserSubSystem() {
        return userSubSystem;
    }

    public ActivitySubSystem getActivitySubSystem() {
        return activitySubSystem;
    }
}
